import request from '@/utils/request';

// 查询自定义导航条列表
export function navigationContentList(data) {
  return request({
    url: '/system/navigation/content/list',
    method: 'post',
    data
  })
}

// 添加分类
export function addNavigationContent(data) {
  return request({
    url: '/system/navigation/content',
    method: 'post',
    data
  })
}

// 修改分类
export function updateNavigationContent(data) {
  return request({
    url: '/system/navigation/content',
    method: 'put',
    data
  })
}

// 删除分类
export function delNavigationContent(data) {
  return request({
    url: '/system/navigation/content/batchDelete',
    method: 'post',
    data
  })
}

